<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>商品详情页</title>
    <link rel="stylesheet" href="../css/reset.css">
    <link rel="stylesheet" href="../css/details.css">
    <link rel="stylesheet" href="../css/header.css">
    <link rel="stylesheet" href="../css/footer.css">
</head>

<body>
    <header></header>
    <div class="container">
        <div class="details_top">
            <div class="small_box">
                <img class="small_pic" src="" alt="">
                <span></span>
            </div>
            <div class="big_box">
                <img class="big_pic" src="" alt="">
            </div>
            <div class="right">
                <div class="right-title">
                    360智能摄像头3C云台电池版AB2L
                </div>
                <div class="right_price">
                    价&emsp;&emsp;格<span class="price">299</span>

                </div>
                <div class="right_category">分&emsp;&emsp;类: <span class="category">皮具箱包</span> </div>
                <div class="right_number">
                    <span>数&emsp;&emsp;量：</span>
                    <span class="sub">-</span><input class="cart_number" type="text" value=""><span
                        class="add">+</span>


                </div>
                <div class="right-buy">
                    <a href="">立即购买</a>
                    <a href="./cart.html" target="_blank" class="addCart">加入购物车</a>
                    <a href="">收藏</a>
                </div>
            </div>
        </div>

    </div>
    <!-- 详情页 -->
    <div class="container">
        <div class="details_top">
            <marquee behavior="" direction="" scrollamount=8 >物流公告：受疫情影响，部分地区发货时效延滞，上海仓暂缓发货，部分订单时效将受到影响，造成不便敬请谅解。</marquee>
            <div id="datails_top_nav" >
                <div>
                    <div>产品详情</div>
                    <div>规格参数</div>
                    <div>评论(100+)</div>
                    <div>常见问题</div>
                </div>
                <div>
                    <a href="./cart.html" target="_blank" class="addCart">加入购物车</a>
                   <a href="" target="_blank">立即购买</a>
                </div>
            </div>
        </div>
    <div class="details_bottom"></div>
    </div>

    <footer></footer>

    <script src="../libs/jquery.min.js"></script>
    <script src="../libs/jquery.cookie.js"></script>

    <script src="../js/details.js"></script>
    <script>
    $('header').load('./header.html')
    $('footer').load('./footer.html')
    </script>
    <script>
        // 详情导航吸顶
        $(window).scroll(function () {
            // 滚动之前先清除
            $('#datails_top_nav').removeClass('fixed')
            if ($('html').scrollTop() >= $('#datails_top_nav').offset().top) {
                $('#datails_top_nav').addClass('fixed')
            } else {
                $('#datails_top_nav').removeClass('fixed')
               
            }
        })

      

    </script>
</body>

</html>